<div id='right'>
	<if condition="isset($_SESSION['username']) && isset($_SESSION['uid'])">
		<div class='userinfo'>
			<dl>
				<dt>
					<a href="{:U('Member/index',array('uid'=>$loginUser['uid']))}"><img src="{$loginUser.face}" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="{:U('Member/index',array('uid'=>$loginUser['uid']))}">{$Think.session.username}
						<b></b>
					</a>
					<a href="{:U('Member/index',array('uid'=>$loginUser['uid']))}">
						<i class='level lv{$loginUser.level}' title='Level {$loginUser.level}'></i>
					</a>
				</dd>
				<dd>金币：<a href="{:U('Member/index',array('uid'=>$loginUser['uid']))}" style="color: #888888;">{$loginUser.gold}<b class='point'></b></a></dd>
				<dd>经验值：{$loginUser.exp}</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href="">{$loginUser.answer}</a></td>
					<td><a href="">{$loginUser.adoptBfb}%</a></td>
					<td class='last'><a href="">{$loginUser.ask}</a></td>
				</tr>
			</table>
			<ul>
				<li><a href="{:U('Member/my_ask',array('uid'=>$loginUser['uid']))}">我提问的</a></li>
				<li><a href="{:U('Member/my_answer',array('uid'=>$loginUser['uid']))}">我回答的</a></li>
			</ul>
		</div>
	<else />		
		 <div class='r-login'>
			<span class='login'><i></i>&nbsp;登录</span>
			<span class='register'><i></i>&nbsp;注册</span>
		</div> 
	</if>		
	<div class='clear'></div>
	<div class='star'>
		<p class='title'>后盾问答之星</p>
		<span class='star-name'>本日回答问题最多的人</span>
			<div class='star-info'>
				<div>
					<a href="{:U('Member/index',array('uid'=>$mostToday['uid']))}" class='star-face'>
						<img src="{$mostToday.face}" width='48px' height='48px' alt="头像站位"/>
					</a>
					<ul>
						<li><a href="{:U('Member/index',array('uid'=>$mostToday['uid']))}">{$mostToday.username}</a></li>
						<i class='level lv{$mostToday.level}' title='Level {$mostToday.level}'></i>
					</ul>
				</div>
				<ul class='star-count'>
					<li>回答数：<span>{$mostToday.uanswer}</span></li>
					<li>采纳率：<span>{$mostToday.adoptBfb}%</span></li>
				</ul>
			</div>
		<span class='star-name'>历史回答问题最多的人</span>

		<div class='star-info'>
			<div>
				<a href="{:U('Member/index',array('uid'=>$mostAnswer['uid']))}" class='star-face'>
					<img src="{$mostAnswer.face}" width='48px' height='48px' alt="头像站位"/>
				</a>
				<ul>
					<li><a href="{:U('Member/index',array('uid'=>$mostAnswer['uid']))}">{$mostAnswer.username}</a></li>
					<i class='level lv{$mostAnswer.level}' title='Level {$mostAnswer.level}'></i>
				</ul>
			</div>
			<ul class='star-count'>
				<li>回答数：<span>{$mostAnswer.answer}</span></li>
				<li>采纳率：<span>{$mostAnswer.adoptBfb}%</span></li>
			</ul>
		</div>
	</div>
	<div class='star-list'>
		<p class='title'>后盾问答助人光荣榜</p>
		<div>
			<ul class='ul-title'>
				<li>用户名</li>
				<li style='text-align:right;'>帮助过的人数</li>
			</ul>
			<ul class='ul-list'>
				<volist name='honor' id='vo' key='k'>
					<li>
						<a href="{:U('Member/index',array('uid'=>$vo['uid']))}"><i class='rank r{$k}'></i>{$vo.username}</a>
						<span>{$vo.adopt}</span>
					</li>
				</volist>	
			</ul>
		</div>
	</div>
</div>